/** 
 * @author Riccardo Manfrin [namesurname at gmail dot com]
 * 
 * @brief  KILLNET APP FILE
 * 
 */
enum {
	UDP,
	TCP
} transport;

enum {
	UC,
	BC,
	MC

} txmode;

void init_data();
int get_sockfd();
void set_skt_txmode(int i);
void set_transport(int t);
int get_transport();
void set_src_addr(char *ip);
int set_dst_addr(char *ip);
void get_dst_addr(char *ip);
void set_dst_port(unsigned int p);
void set_src_port(unsigned int p);
void set_iface(char *ifc);
char *get_iface();
int sock_open();
int sock_send(int sockfd, unsigned char *data, unsigned int length);
void sock_close(int sockfd);


